/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package se.bth.ke.firstfriend.dto;

import se.bth.ke.firstfriend.model.User;
import se.bth.ke.firstfriend.model.validation.Validator;
import se.bth.ke.firstfriend.model.validation.Validator.ValidationResult;

/**
 *
 * @author nico.rehwaldt
 */
public class EditUserDTO {
    private final User user;
    private final ValidationResult validationResults;

    public EditUserDTO(User user, Validator.ValidationResult validationResults) {
        this.user = user;
        this.validationResults = validationResults;
    }

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @return the validationResults
     */
    public ValidationResult getValidationResults() {
        return validationResults;
    }
}
